package com.dzf.service.impl;

import com.dzf.entity.LargeFile;
import com.dzf.mapper.LargeFileMapper;
import com.dzf.service.LargeFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LargeFileServiceImpl implements LargeFileService {
    @Autowired
    LargeFileMapper largeFileMapper;

    @Override
    public void addLargeFile(LargeFile largeFile) {
        largeFileMapper.addLargeFile(largeFile);
    }

    @Override
    public LargeFile findByPic(String id) {
        return largeFileMapper.findByPic(id);
    }
}
